Skip to main content

Installing WordPress locally and pulling the remote database

  • Follow the WordPress install process (use dreamers/dreamers for user and pass) in the browser, then go to /wp-admin:
    • Go Settings -> Permalinks in WP admin and update it with one of options and save. Then update it back to the initial option.
    • Activate all plugins
    • Go to Appearance-> Themes and activate the starter kit theme

Working on an existing site?

Migrate the staging files and database to your local environment by following the steps below:

  • Verify that the WP Migrate DB plugin is installed on both the remote and local WordPress installations.
  • Go to Tools -> Migrate DB. In "Settings" tab filled the information from staging website, click on "Accept Push" and "Accept Pull" checkbox, then fill the "Connection Info" field. Then go to "Migrate" tab and choose "Pull" option.
  • Click on the "Connect" button to establish a connection to the remote site.
  • In the "Select Tables" section, select the tables you want to migrate. In most cases, you will want to select all of the tables.
  • Click on "import all Media Files" and "Save Migration Profile" checkbox and click on "Migrate DB & Save" button.
  • Go again into "Appearance->Themes" section and choose the project name based theme.

Working on a new site?

  • In docker-compose, change "dodwpstarterkit" to something else for the container, DB and PHPmyadmin name
  • In project's README.md, change "dodwpstarterkit" to something else (whatever you decided in the step above)
  • Set the client abbreviation in "config/default.json". Plop will use this.
  • Go to Settings > Reading and set "Your homepage displays" to static page (i.e. "Sample Page")
  • You should be able to visit and see the site locally now

Other things to do (not in any particular order)

  • Ensuring PERMALINKS are set to "custom"
  • Ensuring the homepage is set (reading settings)
  • Setting the default editor
  • Ensuring ALL post types are allowed to re-order (plugin settings)
  • Ensuring ALL post types are allowed to be duplicated (plugin settings)
  • Ensuring important post types use Admin Columns Pro features